import type { Block } from "@/types/block";

export const blocks:Block[]=[
    {
        id:"1",
        type:"text",
        props:{
            content:"这是一个文本块"
        },
        actions:{
            onCopy:()=>{},
            onEdit:()=>{},
        }
    },
    {
        id:"2",
        type:"chart",
        props:{},
        actions:{
            onFilter:()=>{},
            onSwitch:()=>{},
        }
    },
    {
        id:"3",
        type:"image",
        props:{
            src:"https://img1.baidu.com/it/u=6456611,153254244&fm=253&app=120&size=w931&n=0&f=JPEG&fmt=auto?sec=1722358800&t=02976ab86e1014b2402bca29466b53a1"
        },
        actions:{
            onEdit:()=>{},
        }
    }
]